package com.yizhuoyan.his.exception;
/**
 * 系统顶层异常
 * @author Administrator
 *
 */
public class HISException extends RuntimeException {
    private final String code;

	public HISException(String code,String message, Throwable cause) {
		super(message, cause);
		this.code=code;
	}

	public HISException(String code,String message) {
		super(message);
		this.code=code;
	}

	public HISException(String code,Throwable cause) {
		super(cause.getMessage(),cause);
		this.code=code;
	}

	public String getCode(){
	    return this.code;
    }
	
}
